package cn.iocoder.yudao.module.home.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "目录指标查询请求VO")
public class CatalogIndexReqVO {

    @Schema(description = "父级目录ID", required = true, example = "1")
    @NotBlank(message = "父级目录ID不能为空")
    private String parentId;

    @Schema(description = "排序字段", example = "assetNum")
    private String sortName = "assetNum";

    @Schema(description = "排序方式", example = "desc")
    private String sortOrder = "desc";
}
